<?php
use common\service\StaticService;
use common\service\GlobalUrlService;
use shopend\assets\ShopAsset;

StaticService::includeAppJsStatic(GlobalUrlService::buildShopStaticUrl('/backend/complaint/index.js'),ShopAsset::class);
?>

<div class="layui-card">
  <div class="layui-card-header">投诉列表</div>
  <div class="layui-card-body">
    <form  class="layui-form" method="get" id="#form">
      <div class="layui-form-item">
        搜索类型:
        <div class="layui-inline">
          <select class="search_type">
            <option value="">请选择搜索类型</option>
            <option value="1">按手机号搜索</option>
            <option value="2">按用户名搜索</option>
          </select>
        </div>
        <div class="layui-inline">
          <input type="text" id="search_value" name="search_value" class="input-medium layui-input layui-inline" />
        </div>
        投诉状态:
        <div class="layui-inline">
          <select class="status">
            <option value="">请选择投诉状态</option>
            <option value="1">待处理</option>
            <option value="2">处理中</option>
            <option value="3">已完成</option>
          </select>
        </div>
        <div class="layui-inline">
          <label class="layui-form-label">下单时间</label>
          <input type="text" class="layui-input layui-input-inline" placeholder="开始时间" id="start">
          <input type="text" class="layui-input layui-input-inline" placeholder="结束时间" id="end">
        </div>
        <div class="layui-inline">
          <span class="layui-btn" lay-submit lay-filter="serch-form"><i class="layui-icon">&#xe615;</i>搜索</span>
        </div>
      </div>
    </form>
    <table class="layui-hide" id="test"  lay-filter="barDemo"></table>
    <script type="text/html" id="barDemo">
      <a class="layui-btn layui-btn-xs" lay-event="look">查看</a>
      <a class="layui-btn layui-btn-xs" lay-event="detail">查看订单</a>
    </script>
  </div>
</div>